/*
 * @Description: 
 * @Autor: wangwangwang
 * @Date: 2021-01-12 12:08:10
 * @LastEditors: wangwangwang
 * @LastEditTime: 2021-07-08 17:32:50
 */
import request from '@/utils/request'
export const queryPage = '/icps/system/sign/intelligent/materials/product/queryPage'
export const batchUpdateOrDelete = '/icps/system/sign/intelligent/materials/product/updateEnable'
export const saveOrUpdate = '/icps/system/sign/intelligent/materials/product/saveOrUpdate'
/**特材罐-添加或修改 */
export function tanksaveOrUpdate(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/tank/saveOrUpdate',
    method: 'post',
    data
  })
}
/**分页查询特材罐*/
export function tankqueryPage(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/tank/queryPage',
    method: 'post',
    data
  })
}
/**特材罐-删除*/
export function tankdelete(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/tank/delete',
    method: 'post',
    data
  })
}
/**盘点或入库*/
export function tansaveOrUpdate(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/tank/saveOrUpdate',
    method: 'post',
    data
  })
}
/**盘点记录*/
export function recordsqueryPage(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/records/queryPage',
    method: 'post',
    data
  })
}
/**新增价格设置*/
export function savMoney(data) {
  return request({
    url: '/icps/system/sign/materials/materialsMoney/savMoney',
    method: 'post',
    data
  })
}
/**获取价格设置列表*/
export function queryDataSource(data) {
  return request({
    url: '/icps/system/sign/materials/materialsMoney/queryPage',
    method: 'post',
    data
  })
}
/**删除*/
export function deleteMoney(data) {
  return request({
    url: '/icps/system/sign/materials/materialsMoney/deleteMoney',
    method: 'post',
    data
  })
}